package com.bookcode.entity;


import lombok.Data;

import javax.persistence.*;


@Table(name = "t_course")
@Entity
@Data
public class Course extends BaseEntity{

    public Course(){}

    /* 课程名称 */
    @Column
    private String name;

    /* 教师id */
    @Column(name = "teacher_id")
    private Long teacherId;

/*
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
*/
}
